package com.hmall.common.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RequestParams {
    private String key; // 你搜索的值
    private Integer page = 1; //第几页
    private Integer size = 5; //每页数
    private String sortBy; //排序

    // 下面是新增的过滤条件参数
    private String brand;  // 品牌
    private String category; //分类
    private Integer minPrice;
    private Integer maxPrice;
}
